@use '../../../app.scss' as *;

.task-create {
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 1rem;

  // 表单项
  &__form-item {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    max-width: 100%;
  }

  // 表单项标签
  &__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
  }

  // 表单项输入框
  &__input-wrapper {
    @include input;
  }

  // 选择器标签
  &__selector-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
  }

  // 日期选择器
  &__date-picker-item {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
  }

  // 日期选择器开始时间
  &__date-picker-start {
    flex: 1 1 0%;
    margin-right: 0.5rem;
  }

  // 日期选择器结束时间
  &__date-picker-end {
    flex: 1 1 0%;
    margin-left: 0.5rem;
  }

  // 日期选择器输入框
  &__data-picker-wrapper {
    @include input;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  // 任务描述输入框
  &__textarea-wrapper {
    @include textarea;
  }
}